home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / Amos / AMOSList-0198 / AMOSLIST / text0149.txt < prev    next >
Encoding:
Text File  |  1998-06-24  |  1.7 KB  |  43 lines

  1. On 28-Jan-98, Alastair Murray smashed the keyboard with:
  2. >Does anyone know of any AMOS problems related to 060's?
  3. >I'm getting reports of problems with some of my programs with them.
  4.  
  5. I don't know if ya' know this, but:
  6.  
  7. On blizz1230/50 with fpu, AMOS has often crashes. I used several days to
  8. try and find the bug, so that I could avoid it..
  9.  
  10. Problem is:
  11. -A fast moving loop with an 'inkey$' inside, something like:
  12. Do
  13.  w$=Inkey$
  14.  if.....
  15.  else if...
  16.  else if...
  17.  endif
  18. Loop
  19. (As long as the user don't push a key the loop keeps running around)
  20. After some time the loop begins to be unstable (strange chars might be
  21. written, some lines appears on WB) and the Amiga Crashes.. This takes
  22. around 3 seconds to happen..
  23.  
  24. The solution is to put a 'Multi Wait' into the loop, this also has the
  25. advantage of giving some CPU-power to other programs while yours is
  26. awaiting the user to do something. I expect a similar fix would be to
  27. put 'wait vbl' inside the loop, but I've never tried..
  28. -- 
  29. Happy greetings, Yours..
  30. __________________________________________________________________________
  31.  /_  __/ __  / __  /\  ___\  __ \__  _\           aka. JENS VANG PETERSEN
  32.   / / / /_/ / ____/  \ \___\  __ \ \ \              top_cat@post8.tele.dk
  33.  /_/ /_____/_/        \_____\_\ \_\ \_\
  34. --------------------------------------------------------------------------
  35.                      http://home8.inet.tele.dk/top_cat/
  36.   -*-  Home of 'The Ultimate Extension list' for AMOS TC & AMOS PRO  -*-
  37.                   -*-  SUPPORT - AMOS - AMIGA - AQUA  -*-
  38. --------------------------------------------------------------------------
  39.  fortune:  No such file or directory
  40. --------------------------------------------------------------------------
  41.  
  42.  
  43.